<%@page import="java.util.List"%>
<%@page import="java.util.Arrays"%>
<%@page import="java.util.HashMap"%>
<%@page import="java.util.Map"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<c:out escapeXml="true" value="<a href=''>点点</a>" default="heheheh"></c:out>

	<hr>
	<%
		Map map = new HashMap();

		request.setAttribute("map", map);
	%>
	<c:set value="xxx" property="data" target="${map }">

	</c:set>
	${map.data}

	<hr>
	<c:if test="${user==null }" var="b" scope="page">

	</c:if>
	${b }

	<hr>

	<c:forEach begin="1" end="10" step="1" var="num">
	${num }
	</c:forEach>


	<hr>
	<%
		List list = Arrays.asList("1", "2");
		request.setAttribute("list", list);
	%>

	<c:forEach begin="0" end="${fn:length(list) }" var="index">
	${list[index] }
	</c:forEach>
	<hr>
	<br>------------------c:url重点-构建url地址-------------------
	<br />
	<c:url value="/servlet/Servlet/Demo" var="servletDemo">
	<c:param name="name" value="中国"></c:param>
	<c:param name="password" value="我是夏亚琼"></c:param>
	</c:url>
	<a href='${servletDemo }'>点点</a>
</body>
</html>